package com.ych.modules.cms.authorInfc.menu.service;

import com.ych.modules.base.dbEntity.TSysMenuEntity;
import com.ych.utils.menu.MenuTree;

import java.util.List;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/21
 * Time: 14:52
 * Description:
 */
public interface IMenuService {
    List<TSysMenuEntity> menuByUserId(String userId);

    Set<String> perms(String userId);

    MenuTree list();

    List<TSysMenuEntity> select();

    TSysMenuEntity info(String menuIdStr);

    void save(TSysMenuEntity menu);

    void update(TSysMenuEntity menu);

    void delete(String menuIdStr);
}
